package top.fsn.client;

import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;
import top.fsn.api.CalculateFacade;


@Service
public class DubboClientService {

    @Reference(version = "1.0", group = "demo-dubbo")
    private CalculateFacade calculateFacade;


    public void calculate(int a, int b) {
        System.out.println("调用结果：" + calculateFacade.calculate(a, b));
    }
}
